package com.sl.au.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

@Entity
@Table(name = "vi2flowTotalInfo")
public class FlowTotalInfo {

	@Id
	@Column(name = "nFlowBusinessID")
	private int id;
	
	/*
	 * 数据对应的商品计划ID
	 */
	@Column(name = "nOProductID")
	private int nOProductID;
	
	/*
	 * 数据对应的业务数据的主键ID
	 */
	@Column(name = "nBusinesID")
	private int nBusinesID;
	
	//业务数据类型ID
	@Column(name = "nBusinessTypeID")
	private int nBusinessTypeID;
	
	//对应状态基础配置表ID
	@Column(name = "nFlowConfigID")
	private int nFlowConfigID;
	
	//操作该状态的时间点
	@Column(name = "dOperateTime")
	private Date dOperateTime;
	
	@OneToOne	
	@JoinColumn(name="nDeptID",insertable = false, updatable = false)
	private Dept nDeptID;
	
	@OneToOne	
	@JoinColumn(name="nEmpID",insertable = false, updatable = false)
	private Employee nEmpID;
	
	//操作描述；
	@Column(name = "cOperateDes")
	private String cOperateDes;
	
	@Column(name = "nOrder")
	private int nOrder;
	
	//对应状态节点名称；
	@Column(name = "cFlowConfigName")
	private String cFlowConfigName;
	
	//对应状态节点描述
	@Column(name = "cFlowConfigDes")
	private String cFlowConfigDes;
	
	@Column(name = "cBusinessTypeName")
	private String cBusinessTypeName;
	
	@Column(name = "nFlowID")
	private int nFlowID;
	
	//业务对应的流程名称
	@Column(name = "cFlowName")
	private String cFlowName;
	
	//业务对应的流程描述
	@Column(name = "cFlowDes")
	private String cFlowDes;
	
	//合同号
	@Column(name = "cContractNumber")
	private String cContractNumber;
	
	//商品计划编号
	@Column(name = "cProductPlanNumber")
	private String cProductPlanNumber;
	
	@Column(name = "cOrderUnitName")
	private String cOrderUnitName;
	
	@Column(name = "cProductType")
	private String cProductType;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getnOProductID() {
		return nOProductID;
	}

	public void setnOProductID(int nOProductID) {
		this.nOProductID = nOProductID;
	}

	public int getnBusinesID() {
		return nBusinesID;
	}

	public void setnBusinesID(int nBusinesID) {
		this.nBusinesID = nBusinesID;
	}

	public int getnBusinessTypeID() {
		return nBusinessTypeID;
	}

	public void setnBusinessTypeID(int nBusinessTypeID) {
		this.nBusinessTypeID = nBusinessTypeID;
	}

	public int getnFlowConfigID() {
		return nFlowConfigID;
	}

	public void setnFlowConfigID(int nFlowConfigID) {
		this.nFlowConfigID = nFlowConfigID;
	}

	public Date getdOperateTime() {
		return dOperateTime;
	}

	public void setdOperateTime(Date dOperateTime) {
		this.dOperateTime = dOperateTime;
	}

	public Dept getnDeptID() {
		return nDeptID;
	}

	public void setnDeptID(Dept nDeptID) {
		this.nDeptID = nDeptID;
	}

	public Employee getnEmpID() {
		return nEmpID;
	}

	public void setnEmpID(Employee nEmpID) {
		this.nEmpID = nEmpID;
	}

	public String getcOperateDes() {
		return cOperateDes;
	}

	public void setcOperateDes(String cOperateDes) {
		this.cOperateDes = cOperateDes;
	}

	public int getnOrder() {
		return nOrder;
	}

	public void setnOrder(int nOrder) {
		this.nOrder = nOrder;
	}

	public String getcFlowConfigName() {
		return cFlowConfigName;
	}

	public void setcFlowConfigName(String cFlowConfigName) {
		this.cFlowConfigName = cFlowConfigName;
	}

	public String getcFlowConfigDes() {
		return cFlowConfigDes;
	}

	public void setcFlowConfigDes(String cFlowConfigDes) {
		this.cFlowConfigDes = cFlowConfigDes;
	}

	public String getcBusinessTypeName() {
		return cBusinessTypeName;
	}

	public void setcBusinessTypeName(String cBusinessTypeName) {
		this.cBusinessTypeName = cBusinessTypeName;
	}

	public int getnFlowID() {
		return nFlowID;
	}

	public void setnFlowID(int nFlowID) {
		this.nFlowID = nFlowID;
	}

	public String getcFlowName() {
		return cFlowName;
	}

	public void setcFlowName(String cFlowName) {
		this.cFlowName = cFlowName;
	}

	public String getcFlowDes() {
		return cFlowDes;
	}

	public void setcFlowDes(String cFlowDes) {
		this.cFlowDes = cFlowDes;
	}

	public String getcContractNumber() {
		return cContractNumber;
	}

	public void setcContractNumber(String cContractNumber) {
		this.cContractNumber = cContractNumber;
	}

	public String getcProductPlanNumber() {
		return cProductPlanNumber;
	}

	public void setcProductPlanNumber(String cProductPlanNumber) {
		this.cProductPlanNumber = cProductPlanNumber;
	}

	public String getcOrderUnitName() {
		return cOrderUnitName;
	}

	public void setcOrderUnitName(String cOrderUnitName) {
		this.cOrderUnitName = cOrderUnitName;
	}

	public String getcProductType() {
		return cProductType;
	}

	public void setcProductType(String cProductType) {
		this.cProductType = cProductType;
	}

	
}
